package com.qq.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.qq.service.UsersService;
import com.qq.service.impl.UsersServiceImpl;

@WebServlet("/deleteUsersByAcoount.do")
public class DelectUsreByAccount extends HttpServlet{
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		UsersService userService = new UsersServiceImpl();
		String account = req.getParameter("account");
		int rows = userService.deleteUsersByAccount(account);
		
	}
}
